package com.pig4cloud.pig.module.api.entity.wmj;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 门禁出入记录对象 wmj_door_record
 *
 * @author ruoyi
 * @date 2022-12-08
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("wmj_door_record")
public class WmjDoorRecord implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * $column.columnComment
     */
    private Integer doorId;

    /**
     * $column.columnComment
     */
    private Integer idCardId;

    /**
     * $column.columnComment
     */
    private Integer userId;

    /**
     * $column.columnComment
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * $column.columnComment
     */
    private String remark;

    /**
     * $column.columnComment
     */
    private Integer state;

    /**
     * $column.columnComment
     */
    private String cardNo;

	@TableField(exist = false)
	private String beginDate;

	@TableField(exist = false)
	private String endDate;
}
